<?php
//定义编辑器路径
config('form_view.editor', APP_PATH.'markdown/view/editor/index.tpl');
//扩展后台菜单
DcConfigMerge('admin_menu.addon',[
    [
        'menu_ico'    => 'fa-file-text',
        'menu_title'  => 'MarkDown',
        'menu_module' => 'markdown',
        'menu_items'  => [
            [
                'ico' => 'fa-home',
                'title' => '前台演示',
                'target' => '_self',
                'controll' => 'admin',
                'action' => 'home',
                'target' => '_blank',
                'url' => DcUrlAdmin('markdown/index/index', '', '')
            ],
        ]
    ]
]);
//前台配置
return [
    'markdown'=>[
        'theme'=>'default',
        'theme_wap'=>'default'
    ]
];